package com.qf.hospital.vo;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author zjw
 * @description 映射查询全部用户信息的VO
 * @date 2021/10/18 9:29
 */
public class SysUserVO {

    /**
     * 用户id
     */
    @JsonProperty(value = "userid")
    private Integer userId;

    /**
     * 用户名
     */
    @JsonProperty(value = "loginname")
    private String loginName;

    /**
     * 身份证号
     */
    private String identity;

    /**
     * 昵称
     */
    @JsonProperty(value = "realname")
    private String realName;

    /**
     * 0女,1男
     */
    private Integer sex;

    /**
     * 地址
     */
    private String address;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 密码
     */
    private String pwd;

    /**
     * 员工职位
     */
    private String position;

    /**
     * 0 - 不生效   ,  1 - 生效
     */
    private Integer available;

    @Override
    public String toString() {
        return "SysUserVO{" +
                "userId=" + userId +
                ", loginName='" + loginName + '\'' +
                ", identity='" + identity + '\'' +
                ", realName='" + realName + '\'' +
                ", sex=" + sex +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                ", pwd='" + pwd + '\'' +
                ", position='" + position + '\'' +
                ", available=" + available +
                '}';
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Integer getAvailable() {
        return available;
    }

    public void setAvailable(Integer available) {
        this.available = available;
    }
}
